import java.util.concurrent.*;
public class Demo {
    public static void main(String[] args) throws InterruptedException {
        BlockingQueue<String> blockingQueue = new LinkedBlockingQueue<>();
        blockingQueue.put("111");
        String t = blockingQueue.take();
    }
}
